/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


Ext.define("ZYY.view.system.resourceTree",{
    extend:"Ext.tree.Panel",
    alias : 'widget.resourceTree',
    title: '角色所拥有权限',
    rootVisible: false,
    tbar : {
        xtype : 'toolbar',
        border : false,
        items:[{
            text : '保存',
            action : "saveRes",
            disabled: true,
            iconCls : 'save'
        }]
    },
    store:"system.resourceTree",
    initComponent : function() {
//         this.store =Ext.data.StoreManager.lookup('system.resourceTree');
        this.callParent(arguments);
    }
});